package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.project.entity.PreOrder;
import com.project.entity.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lovo
 * @since 2023-07-21
 */
@Mapper
public interface PreOrderMapper extends BaseMapper<PreOrder> {

    public List<Product> findById(Integer preOrderId);
    public List<PreOrder> findByPreOrder(Integer factoryId);

}
